package com.yuyou.fn.tradingservice.vo;

import com.yuyou.fn.common.condition.annotation.Equal;
import com.yuyou.fn.common.condition.annotation.FullLike;
import com.yuyou.fn.tradingservice.entity.LeaseMessage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.List;

/**
 * Created by itachi on 2017/04/05.
 */
@ApiModel
public class ServiceProductVo {

    /**服务产品ID*/
    private Long productId;


    /**目录ID*/
    @Equal
    @ApiModelProperty(value = "商品分类id",required = true)
    private Long categoryId;

    @ApiModelProperty("商品分类名称")
    private String categoryName;

    /** 金额 */
    @ApiModelProperty(value = "商品价格",required = true)
    private BigDecimal price;

    /**操作者Id*/
    @ApiModelProperty(value = "创建人id",required = false)
    private Long userId;

    /**操作者名称*/
    private String username;

    /**商品名称*/
    @FullLike
    @ApiModelProperty(value = "商品名称",required = true)
    private String productName;

    /**单位*/
    @ApiModelProperty(value = "单位名称")
    private String unit;

    /**描述*/
    @ApiModelProperty(value = "商品描述")
    private String content;

    /**分类类型*/
    @Equal
    @ApiModelProperty(value = "类型：0 商品，2租赁，3需求")
    private Integer type;

    /**课室-start*/
    private String address;

    private Long roomId;

    private Long campusId;

    private String campusName;

    private String province;

    private String city;

    private String district;

    private String isMultimedia;
    /**课室-end*/

    @Equal
    private Long  merchantId;

    /*销量*/
    private Integer amount;

    private String imageUrl;

    private Integer monthlyPurchaseNumber;

    /*库存*/
    @ApiModelProperty("商品数量")
    private Integer inventory;

    private String contactName;

    private String contactPhoneNo;

    private String contactQQ;


    @Equal
    private Integer timeType;

    private List<LeaseMessage> leaseMessageList;

    @ApiModelProperty("")
    private Integer detachable;


    private String useAreaTeamIds;

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }


    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Long getRoomId() {
        return roomId;
    }

    public void setRoomId(Long roomId) {
        this.roomId = roomId;
    }

    public Long getCampusId() {
        return campusId;
    }

    public void setCampusId(Long campusId) {
        this.campusId = campusId;
    }

    public String getCampusName() {
        return campusName;
    }

    public void setCampusName(String campusName) {
        this.campusName = campusName;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getIsMultimedia() {
        return isMultimedia;
    }

    public void setIsMultimedia(String isMultimedia) {
        this.isMultimedia = isMultimedia;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public Integer getMonthlyPurchaseNumber() {
        return monthlyPurchaseNumber;
    }

    public void setMonthlyPurchaseNumber(Integer monthlyPurchaseNumber) {
        this.monthlyPurchaseNumber = monthlyPurchaseNumber;
    }

    public Integer getInventory() {
        return inventory;
    }

    public void setInventory(Integer inventory) {
        this.inventory = inventory;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getContactPhoneNo() {
        return contactPhoneNo;
    }

    public void setContactPhoneNo(String contactPhoneNo) {
        this.contactPhoneNo = contactPhoneNo;
    }

    public String getContactQQ() {
        return contactQQ;
    }

    public void setContactQQ(String contactQQ) {
        this.contactQQ = contactQQ;
    }

    public Integer getTimeType() {
        return timeType;
    }

    public void setTimeType(Integer timeType) {
        this.timeType = timeType;
    }

    public List<LeaseMessage> getLeaseMessageList() {
        return leaseMessageList;
    }

    public void setLeaseMessageList(List<LeaseMessage> leaseMessageList) {
        this.leaseMessageList = leaseMessageList;
    }

    public Integer getDetachable() {
        return detachable;
    }

    public void setDetachable(Integer detachable) {
        this.detachable = detachable;
    }

    public String getUseAreaTeamIds() {
        return useAreaTeamIds;
    }

    public void setUseAreaTeamIds(String useAreaTeamIds) {
        this.useAreaTeamIds = useAreaTeamIds;
    }
}
